<?php
namespace Hive\Contact\Creation;
/**
 * Creation Contact Type
 *
 * It represant the way how the contact has been created
 *
 * @author Xavier VILAIN
 * @package Hive\Contact
 *
 * @property int	$way		Way id 
 * @property string	$language	Language
 * @property string	$label		Label
 * @property string	$standard	Is it a standard entry ?
 * @property string	$active		Is it a active ?
 */
class Type extends \Fox\Object\Customizing {
	
}
\Fox\Dao::infos(Type::className(),new \Fox\Object\Info('contact_creation_types', \Fox\Databases::DB_APP));

// Link to i18n elements
\Fox\Object\Links::add(\Fox\Dao::link(Type\I18n::className(),Type::LINK_SOURCE_REFERENCE)
->to(Type::className(), Type::LINK_I18N)
->on('way')
//->cache(new \Fox\Dao\MemoryCacheZone(\Fox\Dao\MemoryCacheZone::PERIOD_FOREVER,Type::cacheDirectory()))
->versionFrom());